﻿<UserControl 
    x:Class="CalciumTemplateApp.Controls.TitleControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">

    <StackPanel Grid.Row="0" Margin="12,17,0,28">
        <TextBlock Text="{Binding Resources.Instance.AppTitle, 
                                  Source={StaticResource Resources}, 
                                  FallbackValue=untitled}" 
                       Style="{StaticResource PhoneTextNormalStyle}"/>
        <TextBlock Text="{Binding Title, FallbackValue=title}" 
                       Margin="9,-7,0,0" 
                       Style="{StaticResource PhoneTextTitle1Style}"/>
    </StackPanel>
</UserControl>
